Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Lines


Q3Line_GetVertexPosition

You can use the Q3Line_GetVertexPosition function to get the position of a vertex of a line.

TQ3Status Q3Line_GetVertexPosition (
TQ3GeometryObject line, 
unsigned long index, 
TQ3Point3D *position);
line
A line.
index
An index into the vertices array of the specified line. This parameter should have the value 0 or 1.
position
On exit, the position of the specified vertex.
DESCRIPTION
The Q3Line_GetVertexPosition function returns, in the position parameter, the position of the vertex having the index specified by the index parameter in the vertices array of the line specified by the line parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996